//
//  PlayRateTableViewCell.m
//  Rail
//
//  Created by hychen on 2018/5/3.
//  Copyright © 2018年 Hychen. All rights reserved.
//

#import "PlayRateTableViewCell.h"

@interface PlayRateTableViewCell ()
@property (weak, nonatomic) IBOutlet UIImageView *selectedIcon;
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;


@end
@implementation PlayRateTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.selectionStyle = UITableViewCellSelectionStyleNone;
    self.backgroundColor = [UIColor clearColor];
    self.contentView.backgroundColor = [UIColor clearColor];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)setTitle:(NSString *)title {
    _title = title;
    self.titleLabel.text = title;
}

- (void)setIsCurrentSelected:(BOOL)isCurrentSelected {
    _isCurrentSelected = isCurrentSelected;
    self.selectedIcon.hidden = !isCurrentSelected;
}

@end
